﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs"
    Inherits="TrainingsApp.IPADApp.Permission.UserEdit" %>

<%@ Register Assembly="TrainingsApp.Controls" Namespace="TrainingsApp.Controls.TextControlExt"
    TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Styles/tables.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/Dialog.js" type="text/javascript"></script>
    <script src="../Scripts/validation.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="tablist2" width="100%" cellspacing="1" cellpadding="0">
        <tr>
            <td class="td1" style="width: 125px">
                用户名 <font color="red">*</font>
            </td>
            <td class="td2" style="width: 342px">
                <cc1:TextControlExt ID="UserName" runat="server" MaxLength="20" ValidateRequired="true"></cc1:TextControlExt>
            </td>
            <td class="td1" style="width: 125px">
                密  码 <font color="red">*</font>
            </td>
            <td class="td2" style="width: 342px">
                <cc1:TextControlExt ID="Password" runat="server" ValidateRequired="true" TextMode="Password"></cc1:TextControlExt>
            </td>
        </tr>
        <tr>
            <td class="td1" style="width: 101px">
                姓  名
            </td>
            <td class="td2">
                <cc1:TextControlExt ID="Name" runat="server" MaxLength="20" ValidateRequired="true"></cc1:TextControlExt>
            </td>
            <td class="td1" style="width: 101px">
                性  别
            </td>
            <td class="td2">
                <asp:DropDownList ID="Gender" runat="server">
                    <asp:ListItem Text="男" Value="True">
                    </asp:ListItem>
                    <asp:ListItem Text="女" Value="False"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="td1" style="width: 101px">
                出生日期
            </td>
            <td class="td2">
                <cc1:TextControlExt ID="BirthDay" runat="server" ValidMode="Date"></cc1:TextControlExt>
            </td>
            <td class="td1" style="width: 101px">
                身份证
            </td>
            <td class="td2">
                <cc1:TextControlExt ID="IdentityCard" runat="server" ValidMode="String"></cc1:TextControlExt>
            </td>
        </tr>
        <tr>
            <td class="td1" style="width: 101px">
                手机
            </td>
            <td class="td2">
                <cc1:TextControlExt ID="Mobile" runat="server" ValidMode="Number"></cc1:TextControlExt>
            </td>
            <td class="td1" style="width: 101px">
                邮箱
            </td>
            <td class="td2">
                <cc1:TextControlExt ID="Email" runat="server" ValidMode="String"></cc1:TextControlExt>
            </td>
        </tr>
        <tr>
            <td class="td1" style="width: 101px">
                身份类别
            </td>
            <td class="td2" colspan="3">
                <asp:DropDownList ID="UserType" runat="server">
                    <%--<asp:ListItem Text="管理员" Value="1"></asp:ListItem>
                    <asp:ListItem Text="教师" Value="2"></asp:ListItem>
                    <asp:ListItem Text="学生" Value="3"></asp:ListItem>
                    <asp:ListItem Text="家长" Value="4"></asp:ListItem>--%>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="4" class="td3">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" class="save"
                    onmouseout="this.className='save'" onmouseover="this.className='save_hover'"
                    OnClientClick="return check('form1')" />
                <asp:Button ID="btnClose" runat="server" Text="关闭" class="close" onmouseout="this.className='close'"
                    onmouseover="this.className='close_hover'" OnClientClick="return closeChildDialog();" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
